package com.example.controller;

import com.example.client.UserOrderClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 本类用来演示:
 *
 * @Author 胡英俊
 * @Date 2022/7/14 22:27
 */
@RestController
public class UserServiceController {
    @Autowired
    private UserOrderClient client;
    @GetMapping("getUserServices")
    public String getUserServices(){
        return client.getOrder();
    }
}
